﻿using System;
using System.Collections.Generic;




public abstract class IDatas
{

    protected string jsonText = "";

    public int Reset( string json )
    {
        jsonText = json;

        return Deserialize();
    }


    protected abstract int Deserialize();

    public virtual bool Empty()
    {
        if (string.IsNullOrEmpty(jsonText))
            return true;
        else
            return false;
    }

}

